package com.jumi.microservice.service.logistics.express;

import com.jumi.microservice.dto.logistics.LogisticsSearchRequest;
import com.jumi.microservice.dto.logistics.LogisticsSearchResponse;

import java.security.NoSuchAlgorithmException;

/**
 * @author by mazhao
 * @Classname BaseExpress
 * @Description TODO
 * @Date 2020/8/22 10:13
 */
public interface Express {

    /**
     * ""
     * @return
     */
    String expressCode();

    /**
     * ""
     * @param request
     * @return
     * @throws NoSuchAlgorithmException
     */
    LogisticsSearchResponse logisticsSearch(LogisticsSearchRequest request) throws NoSuchAlgorithmException;

}
